package com.aoxin.model.attendance;

import java.util.Date;

/**
 * 考勤记录
 * 
 * @author Melody
 * @date 2018年3月28日 下午3:35:39
 */
/**
 * @author Melody
 * @date 2018年4月7日 下午7:55:39 
 */
/**
 * @author Melody
 * @date 2018年4月7日 下午7:55:41
 */
public class SlfAttendance {
	/**
	 *key
	 */
	private String key;
	/**
	 * 考勤记录ID
	 */
	private Integer attendanceId;
	/**
	 * 上课记录
	 */
	private Integer recordId;
	/**
	 * 学校ID
	 */
	private Integer compusId;
	/**
	 * 学校名称
	 */
	private String compusName;
	/**
	 * 教室ID
	 */
	private Integer classroomId;
	/**
	 * 教室名称
	 */
	private String classroomName;
	/**
	 * 班级ID
	 */
	private Integer classId;
	/**
	 * 班级名称
	 */
	private String className;
	/**
	 * 用户ID
	 */
	private Integer userId;
	/**
	 * 用户名称
	 */
	private String userName;
	/**
	 * 孩子ID
	 */
	private Integer childrenId;
	/**
	 * 孩子名称
	 */
	private String childrenName;
	/**
	 * 考勤类型
	 */
	private Integer type;
	/**
	 * 打卡时间
	 */
	private Date cardDate;
	/**
	 * 具体原因
	 */
	private String reason;
	/**
	 * 具体时间
	 */
	private Date reasonDate;
	/**
	 * 创建时间
	 */
	private Date createDate;
	/**
	 * 课表ID
	 */
	private Integer syllabusId;
	/**
	 * 加密后的孩子ID
	 */
	private String aseChildrenId;
	
	public Integer getAttendanceId() {
		return attendanceId;
	}

	public void setAttendanceId(Integer attendanceId) {
		this.attendanceId = attendanceId;
		this.key = String.valueOf(attendanceId);
	}

	public Integer getRecordId() {
		return recordId;
	}

	public void setRecordId(Integer recordId) {
		this.recordId = recordId;
	}

	public Integer getCompusId() {
		return compusId;
	}

	public void setCompusId(Integer compusId) {
		this.compusId = compusId;
	}

	public String getCompusName() {
		return compusName;
	}

	public void setCompusName(String compusName) {
		this.compusName = compusName == null ? null : compusName.trim();
	}

	public Integer getClassroomId() {
		return classroomId;
	}

	public void setClassroomId(Integer classroomId) {
		this.classroomId = classroomId;
	}

	public String getClassroomName() {
		return classroomName;
	}

	public void setClassroomName(String classroomName) {
		this.classroomName = classroomName == null ? null : classroomName.trim();
	}

	public Integer getClassId() {
		return classId;
	}

	public void setClassId(Integer classId) {
		this.classId = classId;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className == null ? null : className.trim();
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName == null ? null : userName.trim();
	}

	public Integer getChildrenId() {
		return childrenId;
	}

	public void setChildrenId(Integer childrenId) {
		this.childrenId = childrenId;
	}

	public String getChildrenName() {
		return childrenName;
	}

	public void setChildrenName(String childrenName) {
		this.childrenName = childrenName == null ? null : childrenName.trim();
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getCardDate() {
		return cardDate;
	}

	public void setCardDate(Date cardDate) {
		this.cardDate = cardDate;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason == null ? null : reason.trim();
	}

	public Date getReasonDate() {
		return reasonDate;
	}

	public void setReasonDate(Date reasonDate) {
		this.reasonDate = reasonDate;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Integer getSyllabusId() {
		return syllabusId;
	}

	public void setSyllabusId(Integer syllabusId) {
		this.syllabusId = syllabusId;
	}

	public String getAseChildrenId() {
		return aseChildrenId;
	}

	public void setAseChildrenId(String aseChildrenId) {
		this.aseChildrenId = aseChildrenId;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}
}